package com.usian.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.model.user.pojos.ApUserRealname;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ApUserRealnameMapper extends BaseMapper<ApUserRealname> {
    @Select("select * from ap_user_realname where user_id = #{id}")
    ApUserRealname selectByUserId(@Param("id") Integer userId);
}
